package com.zzgele.qmzb.api.utils;

import com.zzgele.qmzb.api.core.Constants;

/**
 * Created by Martin on 2017-08-05.
 */
public class ClientUtil {
    /**
     * 获取客户端类型
     * @param client_type
     * @return
     */
    public static Integer getClientType(Integer client_type) {
        if(client_type< Constants.CLIENT_TYPE_UNKNOWN || client_type> Constants.CLIENT_TYPE_PC) {
            return Constants.CLIENT_TYPE_UNKNOWN;
        }
        return client_type;
    }
}
